<SEQ TYPE="MARKUP" DELEGATE="MAIN">></SEQ><!-- from SEQ_REGEXP delegate -->
<IMPORT DELEGATE="TO_LITERAL+PHP" />
<IMPORT DELEGATE="TO_PHP" />
<IMPORT DELEGATE="INVALID_LT" />
<IMPORT DELEGATE="html::TAGS" />
</RULES>
<!--}}}-->
<!--{{{ rule CSS_OPENTAG -->
<!-- CSS where PHP code may be injected -->
<RULES SET="CSS_OPENTAG" DEFAULT="MARKUP">
<SEQ TYPE="MARKUP" DELEGATE="CSS">></SEQ>
<IMPORT DELEGATE="TO_LITERAL+PHP"/>
</RULES>
<!--}}}-->
<!--{{{ rule CSS -->
<RULES SET="CSS" DEFAULT="MARKUP">
<!-- CSS has no line comment: -->
<PROPS>
<PROPERTY NAME="lineComment" VALUE="" />
</PROPS>
<SPAN DELEGATE="CSS"><!-- give priority to PHP -->
<BEGIN>(</BEGIN>
<END>)</END>
</SPAN>
<IMPORT DELEGATE="TO_PHP"/>
<IMPORT DELEGATE="css::MAIN"/>
</RULES>
<!--}}}-->
<!--{{{ rule OBJECT_PHP -->
<!-- Helper for class references in rule PHP -->
<RULES SET="OBJECT_PHP" DEFAULT="KEYWORD4" ESCAPE="\"> <!-- TODO: ESCAPE should not be needed, see http://sourceforge.net/tracker/index.php?func=detail&aid=1600458&group_id=588&atid=100588 -->
<SPAN TYPE="OPERATOR" DELEGATE="PHP_EXPRESSION">
<BEGIN>[</BEGIN>
<END>]</END>
</SPAN>
<!-- Keep brackets together and handle the expression therein with "PHP_EXPRESSION" -->
<SPAN TYPE="OPERATOR" DELEGATE="PHP_EXPRESSION">
<BEGIN>(</BEGIN>
<END>)</END>
</SPAN>
<!-- Delegate expressions methods/members, e.g. $a->{'bar-'.substr($b,1)}: -->